package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/7/17 0:21
 */
@Getter
@Setter
@Table(name = "t_process_craft_program")
@TableName(value = "t_process_craft_program")
public class ProcessCraftProgramEntity{

    /**
     * 系统id
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 主程序id
     */
    @Column(name = "program_id", type = MySqlTypeConstant.INT, length = 11)
    @TableField(value = "program_id")
    private Integer programId;

    /**
     * 工艺工序id
     */
    @Column(name = "process_craft_id", type = MySqlTypeConstant.INT, length = 11)
    @TableField(value = "process_craft_id")
    private Integer processCraftId;


    /**
     * 关联关系
     */
    @Column(name = "is_using", type = MySqlTypeConstant.TINYINT, length = 4)
    @TableField(value = "is_using")
    private Integer isUsing;


}
